﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommandLib
{
    public class MqModels
    {
        /// <summary>
        ///服务IP地址
        /// </summary>
        public string HostName { get; set; }
        /// <summary>
        /// 端口号
        /// </summary>
        public int Port { get; set; }
        /// <summary>
        /// //用户账号
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 虚拟路径
        /// </summary>
        public string VirtualHost { get; set; } = "/";
        /// <summary>
        /// 是否开启断线程连模式
        /// </summary>
        public bool AutomaticRecoveryEnabled { get; set; }
        /// <summary>
        /// 队列过期时间(单位:秒)
        /// </summary>
        public ulong MqQueueOutTime { get; set; }
    }
}
